package com.wty.design.structural.decorator.v1;

/**
 * @Author wangtengyu
 * @Create 2018-09-19-9:49
 */
public class BatterCakeWithEgg extends BatterCake {

    @Override
    protected String getDescription() {
        return super.getDescription()+"加一个鸡蛋";
    }

    @Override
    protected int cost() {
        return super.cost()+1;
    }
}
